import request from './request'
export const selectStudentAPI = (params) => request.get('/admin/getUsersByTypeAndChar', { params })
export const getuserLeaveAPI = (params) => request.get('/admin/getuserLeave', { params })
export const getClassesAPI = (params) => request.get('/admin/getClasses', { params })
export const getClassesSearAPI = (params) => request.get('/admin/getClassesSear', { params })
export const addClassesAPI = (params) => request.get('/admin/addClasses', { params })
export const getAllNoticeAPI = (params) => request.get('/admin/getAllNotice', { params })
export const noticeDetailAPI = (params) => request.get('/admin/NoticeDetails', { params })
export const getLeaveAPI = (params) => request.get('/admin/getLeave', { params })
export const upLeaveStateAPI = (params) => request.get('/admin/upLeaveState', { params })
export const delNoticeAPI = (params) => request.get('/admin/delNotice', { params })
export const announceAPI = (params) => request.post('/admin/announce', params)